package com.cz.widget;


import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.cz.R;

public class ProgramDialog extends Dialog {

    private TextView mTextView;
    private Context context;

    public ProgramDialog(@NonNull Context context) {
        super(context);
        this.context = context;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.dialog_program_layout);
        this.mTextView = findViewById(R.id.small_time_text);

    }

    public void setTextViewValue(String value){
        this.mTextView.setText(value);
    }

}
